import axios from '@/utils/request'

// 获取电影列表
export const getMovieList = () => axios.get('/api/getMovieList')

// 想看电影
export const wishMovie = (obj) => axios.post('/api/wishMovie', obj)

// 搜索电影
export const searchMovie = (name) => axios.get('/api/matchMovieByName?movieName=' + name)

export const getCurrentMovieSchedule = () => axios.get('/api/getCurrentCinemaMovieSchedule?cinemaId=7')

export const getSchedule = () => axios.get('/api/getScheduleById?scheduleId=92')
